<?php

/**
 * breads.php
 *
 * @copyright 2018 opencart.cn
 *
 * All Rights Reserved
 * @link http://guangdawangluo.com
 *
 * @author StifferChen <chenlin@opencart.cn>
 * @created 2018-06-02 10:24
 * @modified 2018-06-02 10:24
 */
class Breads
{
    private $data = array();

    public function add($text, $href)
    {
        $this->data[] = array(
            'text' => $text,
            'href' => $href
        );
    }

    public function get()
    {
        return $this->data;
    }
}